package com.yima.baseproj.module.app.fankui.model;


import com.yima.baseproj.config.validate.constraint.enumvalid.EnumValid;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
public class AppFankuiSetStateParamModel {

    @ApiModelProperty(value = "id")
    @NotBlank(message = "数据不存在，请刷新重试")
    private String id;

    @ApiModelProperty(value = "状态")
    @EnumValid(target = AppFankuiStateEnum.class, message = "状态值不符合规定")
    private String state;
}
